package com.example.hrmsaas;

import com.example.hrmsaas.system.utils.JwtUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@MapperScan(basePackages = {"com.example.hrmSaas.system.mapper","com.example.hrmSaas.company.mapper"})
public class SaasApplication {

    public static void main(String[] args) {
        SpringApplication.run(SaasApplication.class, args);
    }

    @Bean
    public JwtUtils jwtUtils()
    {
        return new JwtUtils();
    }
}
